import * as types from '../../mutation-types'

const state = {
  guanInfo: {},
  userId: {}
}

const mutations = {
  [types.GUAN_INFO] (state, data) {
    state.guanInfo = data
  },
  [types.USER_ID] (state, data) {
    state.userId = data
  }
}

export default {
  state,
  mutations
}